{% extends "home/base_layout.html" %} {% block title %}Log in{% endblock %} {% block content %}


<div class="container">
    <div class="row">
        <div class="col-md-4 col-md-offset-4">
            <div class="login-panel panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">Please Sign In</h3>
                </div>
                <div class="panel-body">
                    <form role="form" action="/login" method="POST">
                        <fieldset>
                            <div class="form-group">
                                {{form.csrf_token}}
                                {{form.username.label}} : {{form.username}}
                            </div>
                            <div class="form-group">
                                {{form.password.label}} : {{form.password}}
                            </div>
                            <div class="form-group">
                                <label for="rememberme">rememberme</label>
                                <input name="rememberme" type="checkbox" />

                            </div>
                            <!-- Change this to a button or input when using this as a form -->
                            <input type="submit" value="提交" /> 
                        </fieldset>
                    </form>

                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
